Component({
    options: {
        multipleSlots: true
    },
    properties: {
        text: {
            type: String,
            value: 'navigation'
        },
        desc: {
            type: String,
            value: ''
        },
        url: {
            type:  String,
            value: '/'
        },
        size: {
            type: String,
            value: '12'
        },

        targetText: String,

        border: {
            type: Boolean,
            value: false
        },
    },
    methods: {
        handleClickNavigation () {
            wx.navigateTo({
              url: this.properties.url,
            })
        }
    }
})
